var web = require("../../utils/orderDetailWeb.js");
Page({
  data: {
    // 是否模拟开盘
    isMoni: my.getStorageSync({ key: 'isMoni' }).data,

    orderNo: "",

    // 倒计时时钟
    time: "",

    actuallyPayAmount: "",
    offlinePay: false
  },
  onLoad(query) {
    web.client.getOrderDetail(query.orderNo, this);
  },
  onlinePay() {
    web.client.getAuthCode(this.data.orderNo);
  },
  offlinePay() {
    web.client.offlinePay(this.data.orderNo);
  },
  onShareAppMessage() {
    return {
      title: '公证 e 选房',
      desc: '提供在线选房服务',
      path: 'pages/login/login'
    };
  }
});
